package kr.moiba.board.dao;

import java.util.List;
import java.util.Map;

import kr.moiba.board.domain.Board;

/**
 * @author Lee Youngho
 *
 */
public interface BoardDao {

	public List<Board> SelectList(Map<String, Object> condition) throws Exception;
	
	public Integer SelectListTotalCnt(Map<String, Object> condition) throws Exception;
	
	public Board select(Integer idx) throws Exception;
	
	public Board insert(Board board) throws Exception;
	
	public Board update(Board board) throws Exception;
	
	public int updateViewCnt(Map<String, Object> condition) throws Exception;
	
	public int delete(Map<String, Object> condition) throws Exception;
	
}